package com.zf.yichat.api.dto.request;

import java.math.BigDecimal;

/**
 * 一句话描述功能
 *
 * @author fengsong
 * @date create in 09:48 2019/6/14 2019
 */
public class PacketSaleListRequest extends FsRequest {

    //0时间最新倒序 1总金额倒序 2领取人数倒序 3未领取
    private Integer type;

    private Integer pageNo;

    private Integer pageSize;

    //分享出去的红包ID
    private Long packetId;

    private BigDecimal longitude;//经度

    private BigDecimal latitude;//纬度

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public Long getPacketId() {
        return packetId;
    }

    public void setPacketId(Long packetId) {
        this.packetId = packetId;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public void valid() {

        //Contracts.assertNotNull(type, YiChatMsgCode.SYSTEM_PARAM_ERROR.msg());

    }
}
